package org.akomantoso.core.data.attribute;

/**
 * The element caption is an HTML element and is used in Akoma Ntoso as in HTML, for the caption of a table (a block)
 * 
 * <pre>
 * 	<xsd:attributeGroup name="cellattrs">
 * 		<xsd:attribute name="rowspan" type="xsd:integer" default="1"/>
 * 		<xsd:attribute name="colspan" type="xsd:integer" default="1"/>
 * 	</xsd:attributeGroup>
 * </pre>
 * 
 * @author <a href="mailto:jacques.militello@gmail.com">Jacques Militello</a>
 * 
 * @since http://www.akomantoso.org/1.0
 */
public interface CellAttrs {

	final int ATTRIBUTE_DEFAULT_VALUE_ROWSPAN = 1;
	
	final int ATTRIBUTE_DEFAULT_VALUE_COLSPAN = 1;
	
	int getRowSpan();

	void setRowSpan(int rowspan);

	int getColSpan();

	void setColSpan(int colspan);
	
}